home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amoszine 10
/
Amoszine 10 (Disk 3 of 3).adf
/
Text_Files.lha
/
wbmouse_amos.txt
< prev
Wrap
Text File
|
1995-12-11
|
4KB
|
91 lines
PK> Hi Andy.
PK> On 2 Jun 95 Andy Bailey wrote to All:
AB>> I cant get the mouse to change colour ! my current project runs under a
AB>> simulated WB 2.0 requester type environment, but I cant get the mouse
AB>> to go the same colour as the one you see on a standard workbench :(((
PK> The mouse pointer is sprite 0 which uses pens 16-19 in the palette for
PK> it's colours. The easiest way to do this is to set the default palette
PK> before you open any screens but the flashing cursor screws up colour 3
PK> so you might want to do something like:
does the pen colours the mouse sprite uses change if I am using an 8 colour
screen? do I still have to assign colours 16-19 to it?
PK> Screen Open 0,640,256,8,Hires
PK> Flash Off : Curs Off
PK> Palette $AAA,0,$FFF,$68B,$999,$BBB,$A87,$FB9,,,,,,,,,0,$EEC,$E44,0
PK> Colour Back $AAA
PK> This will set up a MagicWB style palette and set the default Amos
PK> pointer to use workbench style colours. Colour 16 is the 'transparent'
PK> colour so it doesn't matter what you set it to, you'll never see it in
PK> the pointer.
cool, I'll try it when I get the time
AB>> I have tried the object editor and grabbing a screen shot of my
AB>> workbench and then cut out the mouse pointer so it was an 8 colour
AB>> 16x16 sprite, then I put Change mouse 5 : get sprite palette
PK> Won't work. You have to use 4 colour bobs otherwise Change Mouse will
PK> just ignore you, the sprites must also be 16 pixels wide, but can be any
PK> height. Remember to use the Palette command to change the sprite
PK> colours, not the Get Sprite Palette command.
AB>> and nothing happened! all I got was the standard AmosPro colour pointer
PK> That's Change Mouse for ya, annoying isn't it? It took me days to get
PK> custom pointers working when I last tried :o(
I gave up in the end!, my next problem is finding how to get the program to
load an .iff sample into a memory bank so I can use sam play 1 :( I can load
the sample, and I can play it using sam raw but its not what I want to do, and
I need the sample to be in a bank.
AB>> I did have some success changeing the sprite palette and then I got the
AB>> pointer in all the wrong colours and when I got the pointer the right
AB>> colours, the screens went wrong!! pah!
PK> That's because the Get Sprite Palette command will get the whole palette
PK> unless you tell it otherwise, what you would normally do is edit the
PK> sprites in 32 or 64 colour mode in the object editor and set up your
PK> screen and sprite colours there. Then a simple Get Sprite Palette
PK> command would set up your sprite and screen colours all at once. The
PK> command is really meant for use with sprites, not the pointer.
oh I see, this helps alot, thanks!
AB>> please help , I bet its something wayyy simple
PK> In theory, yes, but Amos makes it hard work.
some things are hard to grasp with Amos but other things just fall into place
quite easily, I do like the way it programs tho, I've made some nice programs
with it.
PK> See ya,
PK> __Y,n,c):
PK> |_)_ _ _|
PK> | (_|(_)l
thanks again
PK> * AmyBW v2.10 *
PK> --- Blue Wave/RA v2.10 AmyBW [NR]
PK> * Origin: Aspects BBS - Manchester UK - (0161)-792-0260 (2:250/107.0)
got any good stuff on here^^ ? (amos stuff, I mean)
_____ _____ _____ _____ .________________________.
/____/\/____/\/____/\/_/__/\ Fidonet: | Moderator of |
/ __ \/ _ \/ __ \/ \ \ \ 2:2500/179.17 | Magic The Gathering |
\ \_ \ \\ \ \\ \____ \ \ | echo |
\ \\ \ \\ \ \\ \ \ \/ Internet: ^------------------------^
\_/ \_/\_/ \_/\_/\__/\_____/andy@phackser.quantum.conqueror.co.uk ...
... UserInfo1.00:CACJCFCIKDIDFEFCDEEHIICHHGBENLGKGG